/*
 * $Id: ItemQuantityPairToItemTransformer.java 15 2013-05-16 05:43:09Z antonyhands@gmail.com $
 */
package ru.olympus.antonyhands.ao.data.util;

import ru.olympus.antonyhands.ao.data.entities.AOItem;
import ru.olympus.antonyhands.ao.data.entities.ItemQuantityPair;

import com.google.common.base.Function;

/**
 * @author AntonyHands
 * @since 14.02.2012
 */
public class ItemQuantityPairToItemTransformer implements Function<ItemQuantityPair, AOItem>
{

    @Override
    public AOItem apply(ItemQuantityPair arg0)
    {
        return arg0.getKey();
    }

}
